package com.cincc.cinccimdemo.model;

import com.cincc.cinccimdemo.widget.SideBase;
import com.cincc.im.model.dbmodel.GroupMemberInfo;

public class GroupMemberInfoUI extends GroupMemberInfo implements SideBase {
    public String contactHeader;
    public boolean isChecked = false;

    @Override
    public String getLetterName() {
        return contactHeader;
    }

    public String getNickName() {
        return this.nickName;
    }

    public GroupMemberInfoUI() {

    }

    public GroupMemberInfoUI(GroupMemberInfo groupMemberInfo) {
        this.groupId = groupMemberInfo.groupId;
        this.memberId = groupMemberInfo.memberId;
        this.joinTime = groupMemberInfo.joinTime;
        this.role = groupMemberInfo.role;
        this.nickNameInGroup = groupMemberInfo.nickNameInGroup;
        this.isProhibited = groupMemberInfo.isProhibited;
        this.isConcern = groupMemberInfo.isConcern;
        this.protraitUrl = groupMemberInfo.protraitUrl;
        this.nickName = groupMemberInfo.nickName;
        this.phone = groupMemberInfo.phone;
        this.email = groupMemberInfo.email;
        this.corporateName = groupMemberInfo.corporateName;
        this.vccid = groupMemberInfo.vccid;
        this.position = groupMemberInfo.position;
        this.department = groupMemberInfo.department;
        this.userType = groupMemberInfo.userType;
    }
}
